#ifndef DOWNLOADPOINTLISTCMD_H
#define DOWNLOADPOINTLISTCMD_H

#include "Command/BaseCmd.h"
#include "DataType/ControlPointStruct.h"
#include "Protocol/CloudProtocol.h"

class DownloadPointListCmd : public BaseCmd
{
    Q_OBJECT
public:
    enum{FunctionCode = CloudProtocol::DownloadPointList};

    Q_INVOKABLE explicit DownloadPointListCmd(QObject *parent = 0);


    Package toPackage();
    void unPackage(Package package);

    QList<ControlPointStruct> downloadPointList() const;
    void setDownloadPointList(const QList<ControlPointStruct> &downloadPointList);

private:
    QList<ControlPointStruct> m_downloadPointList;

};

#endif // DOWNLOADPOINTLISTCMD_H
